Macro Language Reference > Macros > Text (Page Level) > txmlload
  
txmlload
Description
Loads an XML file into a stream.
Syntax
txmlload strm name:s file name:s options:s?
txmlload
[no parameter]
Invoke the Load XML File into Stream dialog box.
strm name
The name of the stream into which to load the XML file
file name
The name of the XML file to be loaded
options
String containing the file import options:
8
Ignore 8th bit. Characters that conform to the ASCII standard are 8-bits long. However, the 8th bit is never used for character representation. PTC ALD allows you to ignore this 8th bit.
1
Start a new paragraph for each line.
x
Ignore any coding of the file in format, e.g. characters in angle brackets or in typical show string sequence.
t
Preserve tab characters from the original file.
n
Treat end of line character as line feed (not carriage return) character.
z
Ignore word processor controls.
u
Preserve multiple spaces.
v2
Convert multiple spaces to tabs.
y
Preserve initial spaces.
e
Preserve exact markup.
options (cont...)
qe
Convert keyboard quotes to English or Spanish .
qg
Convert keyboard quotes to German ?
qs
Convert keyboard quotes to Swedish .
qn
Convert keyboard quotes to Norwegian or Russian (guillemets set tight against the word).
qf
Convert keyboard quotes to French or Italian (guillemets set with a space against the word).
qd
Convert keyboard quotes to Danish (reversed guillemets).
qo
Convert keyboard quotes to ? .
q{x}
Convert keyboard quotes to the characters shown either side of the / character. These characters can be edited by the user, e.g. if you wanted quotes to be displayed as the words OPEN and CLOSE, this option would take the form q{OPEN/CLOSE}
--
Apply a hyphen before one of the character map options to toggle inversion of the selected character map on or off before applying it to the incoming text stream.
options (cont...)
a
Convert text from ANSI character set.
i
Convert text from IBM character set.
o
Convert text from IBM Danish character set.
g
Convert text from IBM Greek character set.
b
Convert text from SmartFont (TextData) character set.
c
Convert text from Mac character set.
s
Convert text from ISO character set.
For more information, see Reference Chapter: XML in PTC ALD.