Search found 16 matches

by gjledger2k
Thu Jan 20, 2011 6:03 am
Forum: XML Schemas
Topic: global element to local
Replies: 3
Views: 3463

Re: global element to local

Thank you so much Sorin for all your help. I'm new to xsd's. I have to write a schema where there is an element called TITLE that is used throughout, and therefore should be global. There is one element where TITLE is a child and can have only 3 values (enumerations). So I'm wondering if you can hav...
by gjledger2k
Mon Jan 17, 2011 2:30 am
Forum: XML Schemas
Topic: global element to local
Replies: 3
Views: 3463

global element to local

Hello,
I have a schema that has a global element. I need to make it a local element. There's no "Unextract Global Element". How do I do this?

Thanks.

Greg
by gjledger2k
Tue Jan 11, 2011 8:05 am
Forum: XSLT and FOP
Topic: xslt text with inline elements
Replies: 1
Views: 3451

Re: xslt text with inline elements

Okay, if you keep chipping away, suddenly the transform does what you wanted. So here is the working transform steps: <xsl:template match="text:p"> <xsl:for-each select="."> <xsl:element name="{@text:style-name}"> <xsl:apply-templates/> </xsl:element> </xsl:for-each> </...
by gjledger2k
Mon Jan 10, 2011 5:17 am
Forum: XSLT and FOP
Topic: xslt text with inline elements
Replies: 1
Views: 3451

xslt text with inline elements

Hi, I have a layout program that can accommodate the following pattern: <element1>text1<element2>text2<element2>text3<element1> I'm assuming that text1 and text3 as text nodes are siblings of element2. What I need to do is match element 1, create an output element with the value of its attribute, ou...
by gjledger2k
Fri Jan 29, 2010 6:21 am
Forum: XSLT and FOP
Topic: Need element to appear only once
Replies: 2
Views: 3197

Re: Need element to appear only once

Thank you thank you. I guess it is time I looked at XSLT 2.0.
by gjledger2k
Wed Jan 27, 2010 7:28 am
Forum: XSLT and FOP
Topic: Need element to appear only once
Replies: 2
Views: 3197

Need element to appear only once

Hi, I'm hoping I can do this without scripting. I imported an Excel document that includes a list of doctors, their specialty, and the county they work in. The code after importing: <?xml version="1.0" encoding="UTF-8"?> <Root> <record> <Provider_Type_Specialty_>Family Practice</...
by gjledger2k
Tue Dec 08, 2009 6:37 am
Forum: XSLT and FOP
Topic: Still a noobie
Replies: 1
Views: 1590

Still a noobie

I don't get to work in XSLT all that often. I'm pretty sure I'd know how to do this transform (I have done some other successfully in the past, so I'm not completely stupid.) But... I want to export a mac excel 2004 spreadsheet as an xml spreadsheet (easy enuff, just export an xml spreadsheet). I wa...
by gjledger2k
Fri Jun 26, 2009 6:41 pm
Forum: XSLT and FOP
Topic: transformation quits after third apply-templates
Replies: 2
Views: 1881

Re: transformation quits after third apply-templates

George,
Thanks so much. I did use your alternate code, and it worked great. I just had a few more bugs to work out before I could respond to your reply.

Thanks again.
by gjledger2k
Wed Jun 24, 2009 8:09 am
Forum: XSLT and FOP
Topic: transformation quits after third apply-templates
Replies: 2
Views: 1881

transformation quits after third apply-templates

Hi, Having a problem with transforming code. I need to select elements based on their (one) parent's attribute, and insert a unique attribute in each element. Here is the xsl: <?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Trans...
by gjledger2k
Tue May 08, 2007 6:19 am
Forum: XSLT and FOP
Topic: Help with transforming xml
Replies: 1
Views: 3351

Here is a solution that seems to work

Okay, I figured out this much. (Trial and error, no logic involved.) Yet it worked! <?xml version="1.0" encoding="UTF-8"?> <xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0" xmlns:text="urn:oasis:names:tc:opendocument:xmlns:tex...
by gjledger2k
Mon May 07, 2007 6:16 am
Forum: XSLT and FOP
Topic: Help with transforming xml
Replies: 1
Views: 3351

Help with transforming xml

Hi, Newbie here (sorry). I'm opening Word docs in Open Office, which builds a nice little xml document called content.xml. One of the weird things that happens tho, is Open Office might use a paragraph or character style as is, or it MIGHT turn it into an automatic paragraph style with a parent-styl...
by gjledger2k
Thu Aug 03, 2006 2:59 am
Forum: Common Problems
Topic: Removing the com.oxygen
Replies: 1
Views: 3992

Removing the com.oxygen

from the Preferences folder resolved the problem, per your suggestion. Thanks. You are the best.javascript:emoticon(':P')
by gjledger2k
Wed Aug 02, 2006 3:27 pm
Forum: Common Problems
Topic: Java console error and oxygen interface problem
Replies: 7
Views: 6937

Got oxygen to load from the shell

but it still has a greyed out screen, with the accompanying Java null pointer exception error.
Sorry.
by gjledger2k
Wed Aug 02, 2006 3:35 am
Forum: Common Problems
Topic: Java console error and oxygen interface problem
Replies: 7
Views: 6937

still can't run oxygen from terminal

Maybe the path is wrong, but this is the path I got when I used applescript's "path to" command. Here are the errors: gregory-ledgers-mac-mini:~ gregoryledger$ sh \MacintoshHD\Applications\oxygen\oxygenMac.sh MacintoshHDApplicationsoxygenoxygenMac.sh: MacintoshHDApplicationsoxygenoxygenMac...
by gjledger2k
Tue Aug 01, 2006 6:16 am
Forum: Common Problems
Topic: Java console error and oxygen interface problem
Replies: 7
Views: 6937

more info

Went to Java preferences. Was running Java 5.0. I switched it to Java 1.4.2. This did not solve the problem.

Also tried rebuilding the registry, but got an error that said : is not a directory.
by gjledger2k
Tue Aug 01, 2006 3:08 am
Forum: Common Problems
Topic: Java console error and oxygen interface problem
Replies: 7
Views: 6937

Java console error and oxygen interface problem

Just downloaded and installed 7.2. The screen is grey. Here is the java console error: [ AWT-EventQueue-0 ] - java.lang.NullPointerException java.lang.NullPointerException at ro.sync.exml.b.A(Unknown Source) at ro.sync.exml.h.Ĝ(Unknown Source) at ro.sync.exml.h.I(Unknown Source) at ro.sync.exml.A.do...