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]

XSLTC and namespaces


I am converting an XSLT application (which I wrote) to XSLTC. The
application works fine in XSLT.

I have a stylesheet and three xml files. The stylesheet accepts the second
two xml files as params. Under XSLTC the stylesheet converts the two
(param) xml files happily but does not appear to recognise the main xml
file. They all use namespaces.

In the stylesheet I can get it to write out the main xml file after the
<xsl:template match="/"> by use <xsl:value-of select="."/>  but I cannot
access parts of the tree by any form of xpath. I have tried every
combination of namespace/no namespace/ slash/dot etc and I cannot find the
combination that works!

Does anyone have any clues as to what I am missing ?

Assistance appreciated.

Irene Hall




For more information on Standard Life, visit our website
http://www.standardlife.com/

The Standard Life Assurance Company, Standard Life House, 30 Lothian Road,
Edinburgh EH1 2DH, is registered in Scotland (No. SZ4) and regulated by the
Financial Services Authority. Tel: 0131 225 2552 - calls may be recorded or
monitored. This confidential e-mail is for the addressee only. If received
in error, do not retain/copy/disclose it without our consent and please
return it to us. We virus scan and monitor all e-mails but are not
responsible for any damage caused by a virus or alteration by a third party
after it is sent.


 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]