XML Portal Bug ??!!
Hi, I'm writing this XML and XSL code and it's running perfectly on "XMLSPY" but when i use it on Oracle portal I receive the error the page could not be displayed
plz fine the XML and XSL file hereunder:
-----XML-----
<?xml version="1.0" encoding="ISO-8859-1"?>
<?xml-stylesheet type="text/xsl" href="C:\WINNT\Profiles\sitel_em\Desktop\test.xsl"?>
<dataset>
<headlines code="PRESS/FR" language="">
<headline storyid="999153468nL30462124" date="30 Aug 2001" time="08:37" lang="EN">
<code>[G][RNP][PGE][PMF][EMK][FR][PRESS][LEN][RTRS][PRESS/FR]</code>
<text>PRESS DIGEST - France - Aug 30</text>
</headline>
<headline storyid="999067370nL29426422" date="29 Aug 2001" time="08:43" lang="EN">
<code>[G][RNP][PGE][PMF][EMK][FR][PRESS][LEN][RTRS][PRESS/FR]<VOWG.DE><EAUG.PA><FMTX.LN><SOGN.PA><FTE.PA><LYOE.PA><EDF.UL></code& gt;
<text>PRESS DIGEST - France - August 29</text>
</headline>
<headline storyid="998890909nL27416527" date="27 Aug 2001" time="07:43" lang="EN">
<code>[G][RNP][PGE][PMF][EMK][FR][PRESS][LEN][RTRS][PRESS/FR]<CRLP.PA><MRK.N><PHA.N><BAYG.DE><EAUG.PA><FTE.PA><TMM.PA><TECF.PA> ;<LAFP.PA></code>
<text>PRESS DIGEST - France - Aug 27</text>
</headline>
<next_headline storyid="998891005nL2463852"/>
</headlines>
<headlines code="SPO FR AND" language="">
<headline storyid="999158007n0948512" date="30 Aug 2001" time="09:53" lang="EN">
<code>[SPO][RNP][DNP][PSP][EMK][GB][IT][FR][SOCC][LEN][RTRS]</code>
<text>Soccer-Blanc arrives but move to United still not finalised</text>
</headline>
<headline storyid="999145169nN29197209" date="30 Aug 2001" time="06:19" lang="EN">
<code>[SPO][AUF][RNP][DNP][PSP][EMK][TENN][US][BE][AU][HR][BR][CZ][CH][ES][RU][FR][JP][SE][DE][EC][IT][WEU][EUROPE][LEN][RTRS]</code>
<text>UPDATE 3-Tennis-Treble chasing Rafter sprints through</text>
</headline>
<headline storyid="999126109nN29285117" date="30 Aug 2001" time="01:01" lang="EN">
<code>[SPO][RNP][DNP][PSP][EMK][TENN][US][FR][WEU][EUROPE][ES][LEN][RTRS]</code>
<text>Tennis-Clement wins battle of the giant-killers</text>
</headline>
<next_headline storyid="999126105nAX2242321"/>
</headlines>
<headlines code=".PAFR" language="">
<headline storyid="999160767nL30307903" date="30 Aug 2001" time="10:39" lang="FR">
<code>[FA][FB][DNP][PMF][STX][FR][WEU][EUROPE][LFR][RTRS][.PAFR]<ORA.PA><FTE.PA><ACCP.PA><STM.PA><CGEP.PA></code>
<text>La Bourse de Paris hisite avant la BCE, pataquhs sur France Tel</text>
</headline>
<headline storyid="999156701nL30458520" date="30 Aug 2001" time="09:31" lang="FR">
<code>[FA][DNP][PMF][STX][FR][WEU][EUROPE][LFR][RTRS][.PAFR]<FTE.PA><ORA.PA><CARR.PA><ACCP.PA><CGEP.PA></code>
<text>La Bourse de Paris en bref - Ouverture en repli de 0,16%</text>
</headline>
<session_id>fDpk9U-048Yng6*jaZCOEvkIqUBPF3JPmvM*D8n-KaN9p</session_id>
</headlines>
</dataset>
------XSL-----
<?xml version="1.0"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/TR/WD-xsl">
<xsl:template match="/">
<html>
<link rel="stylesheet" type="text/css" href="c:\files\projects\reuters files\reuters xsl\reuters.css">
<body>
<!-- <xsl:variable name="session" select="dataset/headlines/session_id"/> -->
<table>
<th>Revue de presse</th>
<th>Sport</th>
<th>Bourse de Paris</th>
<th>Business</th>
<th>Politique</th>
<th>Monde</th>
</table>
<xsl:for-each select="dataset/headlines">
<xsl:if test=".[@code='PRESS/FR']">
<a name="part1">
<h3>Revue de presse</h3>
<table>
<xsl:for-each select="headline">
<tr><td class="DATENEWS">
<xsl:value-of select="@date"/>
<xsl:value-of select="@time"/>
</td><td class="NEWS">
<a >
<xsl:attribute name="href"> http://ri2.rois.com/ppppp/CTIB/RI3APINEWS?TEXT=<xsl:value-of select="@storyid"/>
</xsl:attribute>
<xsl:value-of select="text"/>
</a></td></tr>
</xsl:for-each>
</table>
</a>
</xsl:if>
<xsl:if test=".[@code='SPO FR AND']">
<a name="part2">
<h3>Sport</h3>
<table>
<xsl:for-each select="headline">
<tr><td class="DATENEWS">
<xsl:value-of select="@date"/>
<xsl:value-of select="@time"/>
</td><td class="NEWS">
<a >
<xsl:attribute name="href"> http://ri2.rois.com/ppppp/CTIB/RI3APINEWS?TEXT=<xsl:value-of select="@storyid"/>
</xsl:attribute>
<xsl:value-of select="text"/>
</a>
</td></tr>
</xsl:for-each>
</table>
</a>
</xsl:if>
<xsl:if test=".[@code='.PAFR']">
<a name="part3">
<h3>Bourse de Paris</h3>
<table>
<xsl:for-each select="headline">
<tr><td class="DATENEWS">
<xsl:value-of select="@date"/>
<xsl:value-of select="@time"/>
</td><td class="NEWS">
<a >
<xsl:attribute name="href"> http://ri2.rois.com/ppppp/CTIB/RI3APINEWS?TEXT=<xsl:value-of select="@storyid"/>
</xsl:attribute>
<xsl:value-of select="text"/>
</a>
</td></tr>
</xsl:for-each>
</table>
</a>
</xsl:if>
<xsl:if test=".[@code='JOUR']">
<a name="part4">
<h3>Business</h3>
<table>
<xsl:for-each select="headline">
<tr><td class="DATENEWS">
<xsl:value-of select="@date"/>
<xsl:value-of select="@time"/>
</td><td class="NEWS">
<a >
<xsl:attribute name="href"> http://ri2.rois.com/ppppp/CTIB/RI3APINEWS?TEXT=<xsl:value-of select="@storyid"/>
</xsl:attribute>
<xsl:value-of select="text"/>
</a>
</td></tr>
</xsl:for-each>
</table>
</a>
</xsl:if>
<xsl:if test=".[@code='POL FR AND']">
<a name="part5">
<h3>Politique</h3>
<table>
<xsl:for-each select="headline">
<tr><td class="DATENEWS">
<xsl:value-of select="@date"/>
<xsl:value-of select="@time"/>
</td><td class="NEWS">
<a >
<xsl:attribute name="href"> http://ri2.rois.com/ppppp/CTIB/RI3APINEWS?TEXT=<xsl:value-of select="@storyid"/>
</xsl:attribute>
<xsl:value-of select="text"/>
</a>
</td></tr>
</xsl:for-each>
</table>
</a>
</xsl:if>
<xsl:if test=".[@code='G FR AND']">
<a name="part6">
<h3>Monde</h3>
<table>
<xsl:for-each select="headline">
<tr><td class="DATENEWS">
<xsl:value-of select="@date"/>
<xsl:value-of select="@time"/>
</td><td class="NEWS">
<a >
<xsl:attribute name="href"> http://ri2.rois.com/ppppp/CTIB/RI3APINEWS?TEXT=<xsl:value-of select="@storyid"/>
</xsl:attribute>
<xsl:value-of select="text"/>
</a>
</td></tr>
</xsl:for-each>
</table>
</a>
</xsl:if>
</xsl:for-each>
</body>
</link>
</html>
</xsl:template>
</xsl:stylesheet>
Plz advice and if you want i will send you by mail the complete document
Best Regards
Your XML file seems not well-formed. Would you send the document?
Similar Messages
-
Developers, The Oracle XML Portal needs your help!
The Oracle XML Portal (www.webspedite.com/oracle) is in need of helpful content. I have managed it for over a year now and can't possibly keep up with all the new XDK features coming out. This site has helped over 5,000 developers. I know because I constantly receive e-mails from developers thanking me for maintaining the site.
Now I need your help to keep it going. All I ask is if you have an interesting code example, bug, or anything related to the XDK's, please send it to me at [email protected] I will add it to the site and give you full credit. I'm even thinking of adding a sponsor page that will advertise your services or company if you make a contribution.
I look forward to your contribution,
Jason M Cohen
The Oracle XML Portal
www.webspedite.com/oracleThe Oracle XML Portal (www.webspedite.com/oracle) is in need of helpful content. I have managed it for over a year now and can't possibly keep up with all the new XDK features coming out. This site has helped over 5,000 developers. I know because I constantly receive e-mails from developers thanking me for maintaining the site.
Now I need your help to keep it going. All I ask is if you have an interesting code example, bug, or anything related to the XDK's, please send it to me at [email protected]. I will add it to the site and give you full credit. I'm even thinking of adding a sponsor page that will advertise your services or company if you make a contribution.
I look forward to your contribution,
Jason M Cohen
The Oracle XML Portal
www.webspedite.com/oracle -
Oracle XML Portal needs your HELP!
The Oracle XML Portal (www.webspedite.com/oracle) is in need of helpful content. I have managed it for over a year now and can't possibly keep up with all the new XDK features coming out. This site has helped over 5,000 developers. I know because I constantly receive e-mails from developers thanking me for maintaining the site.
Now I need your help to keep it going. All I ask is if you have an interesting code example, bug, or anything related to the XDK's, please send it to me at [email protected] I will add it to the site and give you full credit. I'm even thinking of adding a sponsor page that will advertise your services or company if you make a contribution.
I look forward to your contribution,
Jason M Cohen
The Oracle XML Portal
www.webspedite.com/oracleThe Oracle XML Portal (www.webspedite.com/oracle) is in need of helpful content. I have managed it for over a year now and can't possibly keep up with all the new XDK features coming out. This site has helped over 5,000 developers. I know because I constantly receive e-mails from developers thanking me for maintaining the site.
Now I need your help to keep it going. All I ask is if you have an interesting code example, bug, or anything related to the XDK's, please send it to me at [email protected]. I will add it to the site and give you full credit. I'm even thinking of adding a sponsor page that will advertise your services or company if you make a contribution.
I look forward to your contribution,
Jason M Cohen
The Oracle XML Portal
www.webspedite.com/oracle -
Blob type parameter in procedure for display issue. Oracle portal bug?
Hi Guy,
I am not sure this is a bug or not for oracle portal.
I have a table that have a column type as blob.
by oracle portal10g, this column should be display as Item Type Upload (Binary) at Item Level Options.
We can create a form to display this file and modify it.
However, It can not to use a procedure with a blob column to create the same form as above. we can not find Item Type as Upload (Binary) in form. if we choose text area.
We will get a error "ORA-01403: no data found (WWV-11230)"
We find this issue during convert clob column to blob type in procedure for a form using.
This is a simple procedure.
See below source codes:
Thanks for any help.
create or replace Procedure test_file
( p_DOCUMENT_ID IN OUT file.DOCUMENT_ID%type,
p_USER_ID out file.USER_ID%type,
p_DOCUMENT_NAME out file.DOCUMENT_NAME%type,
p_DOCUMENT out blob,
p_CREATED_BY out file.CREATED_BY%type,
p_CREATED_TIMESTAMP out file.CREATED_TIMESTAM%type,
p_UPDATED_BY out file.UPDATED_BY%type,
p_UPDATED_TIMESTAMP out file.UPDATED_TIMESTAMP%type,
p_DOCUMENT_DESC out file.DOCUMENT_DESC%type) as
L_DOCUMENT BLOB;
begin
begin
SELECT USER_ID , DOCUMENT_NAME,DOCUMENT, DOCUMENT_MIME, CREATED_BY, CREATED_TIMESTAMP,
UPDATED_BY , UPDATED_TIMESTAMP, DOCUMENT_DESC
INTO p_USER_ID , p_DOCUMENT_NAME,L_DOCUMENT, p_DOCUMENT_MIME, p_CREATED_BY, p_CREATED_TIMESTAMP,
p_UPDATED_BY , p_UPDATED_TIMESTAMP, p_DOCUMENT_DESC
FROM file
WHERE DOCUMENT_ID = p_DOCUMENT_ID;
exception
when NO_DATA_FOUND then
null;
end;
p_DOCUMENT :=L_DOCUMENT;
exception
when others then
null;
end;Hi,
I have created a vo with transient attributes and attached the vo to the am.
But when I am trying to insert the row from my collection, it is giving me '
oracle.jbo.NoDefException: JBO-25058: Definition of resField of type Attribute not found in ResVO
But I have the transient attribute resField in my ResVO and I attached the same to AM also
I am trying to get the VO in my controller like the below:
OAViewObject resvo = (OAViewObject) am.findViewObject("ResVO");
if(vo==null)
resvo = am.createViewObject("ResVO","xxcust.oracle.apps.xxcust.server.ResVO");
if(vo!= null)
resvo.executeQuery();
//Creating and inserting values into the vo
Row row = resvo.createRow();
resvo.insertRow(row);
row.setAttribute("resField", "AB");
row.setAttribute("Value", "CD");
row.setAttribute("Desc", "Test");
When I am running my page, I am getting the
oracle.jbo.NoDefException: JBO-25058: Definition of resField of type Attribute not found in ResVO
I checked the spelling and the attribute name is correct.
Is it the problem with VO having all the transient attributes or am I missing something?
I appreciate your help... -
Parsing String to XML Attribute bug
Hello!
I'm trying to convert String to org.w3c.dom.Document with javax.xml.parsers.DocumentBuilder, but when I check my XML Document after creating, I find that all the Attributes are like "" or "
 ". Does anyone have some idea why that problem is and how it can be solved?
Thanks a lot!
SvigiThere are lots of bug reports about Java 5's built-in XML parser screwing up on attribute values. Try forcing Java to use the current version of Xerces (download it) instead of whatever it has built in, if that seems to apply to you. On the other hand it's possible that the bug is in your code too.
-
Ejb-jar.xml generation bug?
Hi,
I noticed that TopLink seems to forget the tag <primkey-field> and put java.lang.Object instead of Integer in the tag <prim-key-class>?
Is this an error from me?
VladHi,
For a JEE5 EJB module, rather than using EJBGen, you can use WLS specific annotations for configuring common settings. If you follow the link below, you can see a list of supported EJB annotations. Disregard the fact that the documentation section title is WebLogic Kodo Annotations. That is incorrect and I've filed a bug for it.
http://edocs.bea.com/wls/docs103/ejb30/annotations.html#wp1438036.
Unfortunately, we don't yet support setting all weblogic-ejb-jar.xml configuration values via annoations so in some cases a weblogic-ejb-jar.xml is still required.
You can hand edit your weblogic-ejb-jar.xml and the example you posted below should work fine.
- Matt -
Escape XML.vi bug?
When I convert an empty 2D array of I32 to XML using Flatten To XML then run it through the Escape XML.vi the ouput string contains NULLs.
It seems that the tags with no actual value in between causes a NULL (\00) character to be produced between the tags. Is this right or is it a bug?
Test by sending the constant "" through the "Escape XML.vi" that comes with LabVIEW 6.1.Yes, this is a bug. The problem is in xml.llb\EscapeChars.vi. The problem is that when the XML In string is empty the while loop still runs once...which produces 0, the default value for a U8. This \00 is now added in between the val tags. To fix this VI just add a case to the case structure for 0 and pass the array straight through.
This bug will be fixed in the next version of LV. -
hey fellas
I have almost wrapped up my project except for one stupid bug that am getting. I'm using Oracle XML parser for Java.9.0
I am trying to add some xml comments in the output .xml file but it is giving trouble.
My code:
====
Comment comment =xmldocument.createComment("mary had a lazy lamb");
xmldocument.appendNode(comment);
=====
Now comments are being added in the output xml file. BUT GUESS WHAT, Instead of putting the string like a usual comment in xml like -
<!-- mary had a lazy lamb -->
It is putting it like -
<?#comment mary had a lazy lamb comments?> (exact code)
This, inadverantly throws an error when I open the file using a browser.
How to over come this.
ThanksHi Francine
Thanks for the response.
I am extremely sorry for writting incorrect code in my original post but I am using
=======
xmldocument.appendChild(comment);
========
and not appendNode(comment);
The program works fine and shows no error at run time.
But the output file that is generated [using transform] shows the xml comment code as -
<?#comment comments comments?> (exact code)
and not as desired -
<!-- comments -->
It would be great if you can test and suggest something.
Earlier I started with Crimson parser, then shifted to Xerces and finally to ODK XML parser. Both Crimson and Xerces give comment as desired but ODK API is giving the above undesired comment which cannot be interpreted correctly by the web browser. [ODK is preferable 'cuz of its superior processing speed].
Thanks once again and anticipating a positive response from you. -
XML Export Bug - Any workarounds?
Before we go any further, I am running 5.0.3 and I HAVE created a bug report, but since I'm not expecting a new release (bug fix) in the next couple of days/weeks I was hoping the community here might have a workaround or know if there is something I am doing to cause this.
I'm creating a new project with DSLR 1080p/25 settings. I've also tried other 1080p/25 settings and it makes no difference.
I import lots of DSLR 1080p/25 footage (from Canon DSLRs) and several audio only files from a Zoom, recorded at 48Khz. All footage shows in the project correctly (1080p/25) and the footage shows at 48Khz. So far so good.
Drop the footage and audio on to a sequence and export to XML and send to PluralEyes.
Now, I've been using PluralEyes with FCP for a while and it's an excellent product - I really can't recommend it enough, and their tech support is also 1st class. So, with this in mind, it was rather odd that the version for Premiere Pro wasn't syncing as well as the FCP version. Following a few emails back and forth with Singular Software (PluralEyes) it turns out that some of the files (the audio files) are being exported to the XML file incorrectly. They are being exported with a rate of 29.97 and not 25. Not only is the frame rate incorrect, but the duration is set to match 29.97 and not 25.
Here are some extracts from the XML:
PPro Exported as :
<rate>
<timebase>30</timebase>
<ntsc>TRUE</ntsc>
</rate>
<duration>252824</duration>
<timecode>
Should have been:
<rate>
<timebase>25</timebase>
</rate>
<duration>210897</duration>
I am wondering if there is anything I could have done to cause this, maybe in the way I imported files or created projects / sequences etc, or if anyone knows of any work around to force PP to correctly interpret these files?The Interpret Footage Option is disabled....
-
This happened in WLI 7.0.2
I wanted to post a generic xml when task became ready. I wanted to do this for
each task in current and future templates that other people in my group will design.
I had written the xml and it was in my local drive.
I tried to use the xml finder functionality for adding the xml to publish into
the repository. It imports but garbles up the xml into a binary string. Due to
this the original contents of the xml are lost.
I have tried all kinds of ways to get an xml imported into the repository but
it does not work. looks like the XML finder has bugs and it does not work.
Has anyone encountered this issue?
Thanks
puneetThis happened in WLI 7.0.2
I wanted to post a generic xml when task became ready. I wanted to do this for
each task in current and future templates that other people in my group will design.
I had written the xml and it was in my local drive.
I tried to use the xml finder functionality for adding the xml to publish into
the repository. It imports but garbles up the xml into a binary string. Due to
this the original contents of the xml are lost.
I have tried all kinds of ways to get an xml imported into the repository but
it does not work. looks like the XML finder has bugs and it does not work.
Has anyone encountered this issue?
Thanks
puneet -
ISE 1.2 Patch 6 Bulk account creation Sponsor portal bug
Hi all, not sure whether anyone has this issue but I noticed yesterday when I do a bulk csv import of users into the sponsor portal that it does not hold the user group I specifiy. In summary I select my CSV file, choose my user type as contractor (guest or contractor) and submit. The import succeeds except that all users are placed into the guest group not the contractor group I specified. You then have to manually alter every single one of them to be in the right group.
Any ideas?Hi -
I also see this when I import a CSV file of accounts for a different guest role. We have created a second portal (other than the default "guest"). All the new accounts get assigned to Guest regardless of what is specified. The fix has so far been simply reassigning them manually. -
XML Document from XML Schema Bug
When an XML document is generated from an XML Schema the XML document does not have all the elements specified in the XML Schema. The XML document only has the root element.
1. Register an XML Schema.
2. Create an XML document with File>New>General>XML>XML Document from XML Schema. The "Generate only Required Elements" is unchecked.
3. The XML document has only the root element.
In JDeveloper 10.1.3 all the elements in the XML Schema get generated.Also, the component palette for the XML document generated from the XML Schema does not list all the elements in the XML Schema, only the root element is listed. Even if elements are specified as required in the XML Schema with minOccurs="1" and the "Generate only Required Elements" checkbox is selected only the root element gets generated.
-
hi
could anybody please check how it works in JS or AS - what do you get in XML structure - what is tagged - when you try to MarkUp character containing InLine graphic ? or Text object containing only one "character" - InLine graphics
something like this:
Set myPageItem = myText.PageItems.Item(a)
Set myChar = myPageItem.Parent
With myChart.AssociatedXMLElements.Item(1).Parent.XMLElements.Add("qqq")
Call .Markup(myChar)
End With
robin
www.adobescripts.co.ukOk, I figured out the problem. I had read that snippet before and tried it and it didn't work. I then Dim'd artitem as a compoundpathitem instead of pathitem and it worked on the first iteration of the for each loop. One the second trip through there was an invalid cast exception..but it had upsized the art! So I just added try/catch to handle the error and it works!
For future reference, anyone that reads this will need to add a reference to the CS4(or whichever version) type library COM object, change the hard coded file paths and it should convert from AI to SVG and Scale it up or down by replacing the 125,125 in the scale matrix by whatever percentage you'd like. The Userinteractionlevel disables any warnings so that it runs automatic.
Thanks again Carlos...while you didn't give me the exact code I needed, you pointed me at what I had previously dismissed due to a different error.
-Mark
Dim illusapp As New Illustrator.Application
Dim illusdoc As Illustrator.Document
Dim scalematrix As Illustrator.Matrix
Dim artitem As Illustrator.CompoundPathItem
Dim svgOpt = new illustrator.ExportOptionsSVG
svgOpt.DTD = Illustrator.AiSVGDTDVersion.aiSVG1_0
illusapp.UserInteractionLevel = Illustrator.AiUserInteractionLevel.aiDontDisplayAlerts
illusdoc = illusapp.Open("c:\test\test.ai")
scalematrix = illusapp.GetScaleMatrix(125,125)
Try
For Each artItem In illusapp.ActiveDocument.PageItems
artitem.Transform(scalematrix)
Next
Catch
End Try
illusdoc.Export("C:\test\test.svg",Illustrator.AiExportType.aiSVG,svgopt)
illusdoc.Close -
FOR ORACLE XML TEAM -- XML TOOLS BUG FIXING POLICY/RESPONSE TIME/RELEASE SCHEDULE
Hi,
The release of Oracle XML tools and utilities by Oracle XML team is a significant milestone and is definitely appreciated. However, as part of a large organization, some factors need to be clarified before using these utilities in production softwares.
I have noticed that XML parsers and other utilities are now coming as part of other softwares like JDeveloper etc. Following are my questions to the Oracle XML team and urgent and prompt reply will be greatly appreciated.
1. What is the XML tools support policy. Is it only OTN? Can we buy support? Are these utilities supported if large organizations have corporate server licenses. I have read at the XML site the XDK is fully and freely supported by Oracle Word Wide support. What does this mean?
2. What is the release schedule for the XML tools?
3. What is the response time?
Once again, your help and prompt reply will be appreciated.
Thanks.As you noted many of the Oracle XDK components are production. This means that if your company has an Oracle Server Support contract you will get the corresponding level of support for the production XDK components.
If you don't have one, then OTN is your support resource. We will also have standalone support agreements in the future which you can purchase through the Oracle Store. The response time would be the same as for the server.
There is not a specific release schedule for components on OTN as they have different development schedules.
Oracle XML Team
null -
Workaround for ]] XML export bug with schema?
Hi,
It is a known issue that the ]]> sequence will not export properly to XML. If you are using a DTD, there is an entity-based workaround that is described here:
http://forums.adobe.com/message/3774389
The question... is there a workaround when using schema? I'm unable to figure it out.
Thanks,
RussHi Lynne,
Thanks again for the thoughts. And by the way, I sympathize with your implicit complaint about how these forums work with respect to revised messages. I am accustomed to hitting Ctrl+S all the time, probably from my FM experience Unfortunately, if you accidentally do it in the forum webpage, it submits the message. The system really needs to send revisions when they occur, because some people might just read the original email and think that's it.
Anyway, I'm intrigued by some things you said. #1 is possible but not preferable, as schema was specifically chosen for the ability to validate attribute values. My level of attribute-based conditionalization is fairly heavy and the schema makes sure that an invalid value cannot be entered. I seem to remember back in the outset that a DTD couldn't do the level of validation I like, but I don't remember the exact reasoning. Note that I frequently assign lots of values to an attribute, tokenized with whitespace as customary.
#3 is what I'm doing now, except with the fancy coverup tricks with spacing and back-end XSLT. I like your ideas.
#4 is actually pure genious and it is the route I think I will go. Something you didn't know yet is that I have a script that automatically formats an XML instance like an XML editor does, incidentally by wrapping <ph> elements and setting color-formatting attributes. Thanks to ExtendScript, I was able to use regular expressions to parse out all the individual components and then create a "map" for the subsequent wrapping/formatting activities. It is quite lovely and gives me the best looking XML instances in town, with a click. Bragging aside, it would be elementary to modify that script slightly to insert another <ph> element as you suggest. Elegant and simple, but I would have never thought of that myself.
Many thanks again,
Russ
Maybe you are looking for
-
Cannot find Master Column in Outline view
Hi Guys, We are using NWDS 7.1 Composition Environment SP05 for development. I am trying to do a Tree control nested in a Table. I am at the point where I'm supposed to add the Master Column from the context menu in the Outline perspective - but it
-
Query in Portal User-Language-Independent
Hi all Query and Portal: NW04S We have some users with different language as Query language. So the result is, when a query is developed in german and a user has default language english the query components are shown in technical values. We don't wa
-
Iphone & MacBookPro Synching problem...
I just bought a used Macbook Pro to replace my powerbook g4 from 2004. I was hoping to be able to finally synch my iphone 4 to my computer, as well as run current versions of all my software etc, however... I'm having some problems. When I try to plu
-
Logger - Log4j in JDev 10.1.2
Hey, I want to use Logger logger = Logger.getLogger(myaction.class). I'm using JDev 10.1.2. I have added the log4j library in my project. But, I still not able to use getLogger(class). It shows the following packages. com.evermind.util.Logger; com.ev
-
Need to knowe Latest SAP HR Certification
Hi Experts, I m planing to take up a HR certification with in few months so i need ur suggestions: i) which version i should take and also ii)what are the various SAP HR version Thanks, Ashok