Search found 7 matches

by bingley
Thu Aug 30, 2012 8:29 pm
Forum: XSLT and FOP
Topic: Do element(s) sorted on need to be in the output?
Replies: 1
Views: 1222

Do element(s) sorted on need to be in the output?

Greetings. I was having no success sorting a large input document on a specific element's attribute -- until I added an xsl:value-of element to the stylesheet just to see if the XPath for the sort was correct. It worked. If the value of that element and attribute was included in the output document,...
by bingley
Thu Aug 23, 2012 7:15 pm
Forum: XML Schemas
Topic: Existing schema won't validate
Replies: 4
Views: 9999

Re: Existing schema won't validate

YES! I pasted in the <import> element as you stated it -- and the document finally validated! I knew none of the information you provided so I'll print it out and keep it close at hand. I can't thank you enough.
by bingley
Wed Aug 22, 2012 11:33 pm
Forum: XML Schemas
Topic: Existing schema won't validate
Replies: 4
Views: 9999

Re: Existing schema won't validate

OK, I made the change you kindly suggested (thank you!), and now I get a different error message. Now Xerces says "The prefix 'xs' for element 'xs:schema' is not bound." Well, yes it is! (Isn't it?) <?xml version="1.0" encoding="UTF-8"?> <xs:schema xmlns:xs="http:/...
by bingley
Wed Aug 22, 2012 11:16 pm
Forum: XSLT and FOP
Topic: Identity transform, remove one filtered element, not working
Replies: 3
Views: 3108

Re: Identity transform, remove one filtered element, not working

I'm sorry, I meant that the sort needs to be done on the xl:title attribute in the party element, not the role element. My brain is so fried. Thank you!
by bingley
Wed Aug 22, 2012 11:12 pm
Forum: XSLT and FOP
Topic: Identity transform, remove one filtered element, not working
Replies: 3
Views: 3108

Re: Identity transform, remove one filtered element, not working

Thanks for your quick reply. I was able to remove the one element as described below. The reason I was doing that in the first place was to simplify sorting problem. With the element removed as described below, I thought I could just sort on the @xl:title value of the first role element in each Titl...
by bingley
Sun Aug 19, 2012 9:41 pm
Forum: XML Schemas
Topic: Existing schema won't validate
Replies: 4
Views: 9999

Existing schema won't validate

Hello, I need to work with an XML schema written by a company that has gone out of business. The schema was generated by the company's collection management system, a database to which I need to add records exported from Excel. The schema does not validate in Oxygen. I'm new to schemas and still get...
by bingley
Sun Aug 19, 2012 7:50 pm
Forum: XSLT and FOP
Topic: Identity transform, remove one filtered element, not working
Replies: 3
Views: 3108

Identity transform, remove one filtered element, not working

Hi, all, I'm a newbie to XSLT and a non-programmer (unfortunately). I'm trying to copy all of a large XML document into a new XML document, except I want to remove one element and its children if one of its child elements contains a specific value. Source XML: <rootElement> <TitleWork> ... <roles> <...