This is the mail archive of the xsl-list@mulberrytech.com mailing list .


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

AW: AW: Refinement: creating namespaces in a generated script


Hi David,

The file staroffice/content.xml (which does not include namespace
declarations for ns1, ns2, ns):

<text:p text:style-name="Standard">
  <text:variable-set text:name="__Adressen_jeweilsInZeile"
text:value-type="string">
/ns1:elem1/ns1:elem2/ns2:elem3/ns2:elem3</text:variable-set> 
</text:p>

is well formed regarding namespaces, isn't it? ns1 and ns2 appear only in
text nodes. The generated template uses them in the match attribute though,
so the namespace must be declared somehow.

Markus

 XSL-List info and archive:  http://www.mulberrytech.com/xsl/xsl-list


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]