xsl-list
[Top] [All Lists]

AW: AW: Refinement: creating namespaces in a generated scri pt

2002-09-18 07:26:04
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



<Prev in Thread] Current Thread [Next in Thread>