Altova Mailing List Archives>Archive Index >microsoft.public.xsl Archive Home >Recent entries >Thread Prev - Re: ok, must be doing something stupid but HELP (XSL problem) >Thread Next - Re: ok, must be doing something stupid but HELP (XSL problem) Re: ok, must be doing something stupid but HELP (XSL problem)To: NULL Date: 3/12/2009 6:50:00 PM Gina_Marano wrote:
> Thanks so much for helping Martin!
>
> That worked was the orderDate but what is so different for OrderID?
>
> <?xml version="1.0"?>
> <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/
> Transform" xmlns:fn="http://www.w3.org/2005/02/xpath-functions"
> xmlns:jdf="http://www.CIP4.org/JDFSchema_1_1" xmlns:pt="http://
> www.printtalk.org/schema"
> exclude-result-prefixes="pt">
> <xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes"/
> <xsl:template match="/">
> <Order orderDate="{pt:PrintTalk/@timeStamp}" OrderID="{pt:PrintTalk/
> Request/PurchaseOrder/@BusinessID}">
All elements are in that namespace so you need to prefix each element
name e.g.
pt:PrintTalk/pt:Request/pt:PurchaseOrder/@BusinessID
You have to fix a lot of expressions.
--
Martin Honnen --- MVP XML
http://JavaScript.FAQTs.com/
| ||||||
| Company | Legal | Press | Partners | Careers | Sitemap | Contact Us | Altova Blog | Mobile | Full Site | |||
|
