OracleHelp for Java from XML - Possible?
Has anyone successfully authored an OHJ system by using an XML tool such as Epic ArborText? If so, I would love to know the process you used and whether you accomplished this by using the HelpSet wizard or some other means.
This is primarily a question for authors using Oracle Help, but as a member of the team that develops Oracle Help Technologies I've heard about many customers using XML centric tools with Oracle Help.
An Oracle Help system consists of XML control files (.hs, toc, keyword index, map files, etc), HTML content files, and a generated search index. Since you can use the search index generator that comes with OHJ to generate the search index, that file is taken care of.
I know that a small number of authors have used XML editors to create the control files, in fact, we were thinking about distributing XML Schemas for these file formats that could be used with XML Schema aware XML editors.
I know that a large number of Oracle Help systems have been developed recently using Adobe Framemaker's XML support and converters that generate the output HTML and XML control files.
I also heard a while ago about someone building an open source DocBook to Oracle Help converter.
I'm not aware of any customers using ArborText to generate Oracle Help systems, but that doesn't mean they don't exist. Certainly the idea of storing the documentation in XML format and then generating the help system from that has merit.
Jeffrey Stephenson
Oracle Help Technologies
Similar Messages
-
Error downloading XML schema processor for java from OTN
I'm getting error downloading this product from otn site. http://technet.oracle.com/tech/xml/schema_java/index.htm
I login to OTN, go to this site, enter registration information and then I get the following error when I try to submit my info.
Runtime error occured. Do you wish to debug?
Line: 20
Error :'e_mail_valid' is undefined.
When I say 'No' for debug, it takes me to 'XML parser for java' download page instead of 'XML Schema processor'.
please help.
thankx
nullThe 'e_mail_valid' is undefined" has to do with the format of or lack of the email address. The routing problem is ours and should be fixed later today or by tomorrow morning.
Thanks,
Oracle XML Team -
XMLEncoder usage for Java to XML Serialization
I have recently started using XMLEncoder and XMLDecoder to perform Java Bean to XML Serialization and Deserialization. It seems to break when multiple threads are using XMLEncoder, even if each Thread is using a separate instance of XMLEncoder. I was initially seeing NullPointer exception and after obtaining a fix for that IBM Support, we are seeing various other exceptions like this.
java.lang.IllegalAccessException: Can not call newInstance() on the Class for java.lang.Class
java.lang.Exception: discarding statement XMLEncoder0.writeObject(TestObject0);
java.lang.Exception: discarding statement XMLEncoder0.writeObject(TestObject0);
at java.beans.XMLEncoder.writeStatement(XMLEncoder.java:352)
at java.beans.XMLEncoder.writeObject(XMLEncoder.java:266)
at test.XMLEncoderIssue.run(XMLEncoderIssue.java:59)
at java.lang.Thread.run(Thread.java:570)
Caused by: java.lang.RuntimeException: failed to evaluate: <unbound>=Class.new();
java.lang.ArrayIndexOutOfBoundsException: 0
at java.beans.ObjectHandler.dequeueResult(XMLDecoder.java:285)
at java.beans.XMLDecoder.readObject(XMLDecoder.java:163)
at test.XMLEncoderIssue.run(XMLEncoderIssue.java:75)
at java.lang.Thread.run(Thread.java:570)
What am i missing here?Just add an empty constructor in your class
-
Challenging issue for Java and XML Gurus.Please advise
An extremely tricky and challenging code.
I have been able to add 2 XML documents together
using importNode().
xmlDoc1
<?xml version="1.0" encoding="UTF-8"?>
<i:Interest xmlns:i="common">
<i:Details xsi.type="i:vanilla.details.stock">
<i:Strategy xsi.type="strategies:call">
<strategies.Expiry>2009-12-01</strategies.Expiry>
</i:Strategy>
<i:Ref/>
</i:Details>
</i:Interest>
xmlDoc2
<?xml version="1.0" encoding="UTF-8"?>
<i:Underlying value="KGF">
<common:Currency>GBP</common:Currency>
</i:Underlying>
My Java Code to append them together
NodeList list = xmlDoc2.getChildNodes();
for (int i=0; i< list .getLength(); i++) {
Element element = (Element)list.item(i);
Node dup = xmlDoc1.importNode(element, true);
xmlDoc1.getDocumentElement().appendChild(dup);
Output:
<?xml version="1.0" encoding="UTF-8"?>
<i:Interest xmlns:i="common">
<i:Details xsi.type="i:vanilla.details.stock">
<strategies.Description>Call</strategies.Description>
<strategies.Expiry>2009-12-01</strategies.Expiry>
</i:Strategy>
<i:Ref/>
</i:Details>
<i:Underlying value="KGF">
<common:Currency>GBP</common:Currency>
</i:Underlying>
</i:Interest> Query:
I would like to add the 2nd XML Document after element <i:Ref> . How to do this? I dont want the 2nd XML doc after <i:details> but before it.
Please help.Well. You say you want to insert a node as a child of another node, and it needs to be inserted before a certain other child node.
There's an insertBefore() method in the Node interface. Use that.
And if you thought that was a challenging issue then you might as well give up writing DOM code right now. -
Hi,
I have an swf hosted online, it has an instance of FLV
Playback and several buttons. When the buttons are clicked a
different flv plays, pretty simple so far. I need to be able to
change the URL of the FLV easily and frequently, i thought i could
accomplish this using an .as file, not realising the info in this
is only included at publishing, meaning i would have to keep
uploading a new swf each time.
I therefore need to use either XML or a text file. So far
i've managed to use a text file to set the variables that allow me
to change the buttons' text description, but when it comes to
changing the contentPath of the FLV i have to idea how to go about
it.
Any help would be most appreciated, please bear in mind i
have no idea how to use XML with Flash :)
Thanks in advance
Karenuse this to populate your array:
gallery_xml.onLoad = function() {
var index:Number = new Number(0);
var used:String = new String("used");
gallery_arr = new Array();
for (var i = 0; i<this.firstChild.firstChild.childNodes.length; i++) {
gallery_arr.push(this.firstChild.firstChild.childNodes[i].firstChild.nodeValue) -
JAXB 1: is it possible to go from enum simulation in Java to XML Schema?
I know how to get an enum simulation in java from XML schema, but can it be done in the other direction, in the context of a web service implementation?
The thing is from schema to java a customization file is used. But there's no specification for such a customization file usability when going from java to schema. So far, i'm getting a string for enum wrapper.Well, i got it to work in JAXB 1, w/o xfire, schema-to-java. Marshall and unmarshall.
But w/ xfire, it doesn't appear to be possible. Would probably require implementing it for them myself... -
I've started getting an intermittent error editing my Windows 7 OSD task sequence. Sometimes I can open the TS to edit, but when I try to apply changes I get the error. Other times I get the error when trying to open the TS. If I try again
right away, I still get the error, but if I wait a few minutes and try again sometimes it will open the TS.
The error reads:
ConfigMgr Error Object:instance of SMS_Extended Status{Description = "Failed to load dynamic properties for class \"SMS_TaskSequence_ApplyWindowsSettingsAction\" from XML into WMI";Error Code = 2147943746;File = "e:\\qfe\\nts\\sms\\siteserver\\sdk_provider\\smsprov\\ssptspackage.cpp";Line = 3454;Operation = "ExecMethod";ParameterInfo = "SMS_TaskSequencePackage";ProviderName = "WinMgmt";StatusCode = 2147749889;}
Coinciding with this error, I show the following entries in the TaskSequenceProvider.log file:
[PID: 7608] Invoking method SMS_TaskSequence.LoadFromXml
TaskSequenceProvider
Failed to protect memory buffer, hr=0x80070542
TaskSequenceProvider
Failed to load dynamic properties for class "SMS_TaskSequence_ApplyWindowsSettingsAction" from XML into WMI 0x80070542 (2147943746)
TaskSequenceProvider
Failed to load node Apply Windows Settings from XML into WMI 0x80070542 (2147943746)
TaskSequenceProvider
Failed to load children steps for node "PostInstall" from XML 0x80070542 (2147943746)
TaskSequenceProvider
Failed to load children steps for node "Execute Task Sequence" from XML 0x80070542 (2147943746)
TaskSequenceProvider
Failed to load children steps for node "" from XML 0x80070542 (2147943746)
TaskSequenceProvider
Failed to load XML for the task sequence into WMI 0x80070542 (2147943746)
TaskSequenceProvider
[PID: 7608] Done with method SMS_TaskSequence.LoadFromXml
TaskSequenceProvider
Setting status complete: status code = 0x80070542; Failed to load dynamic properties for class "SMS_TaskSequence_ApplyWindowsSettingsAction" from XML into WMI
TaskSequenceProvider
I exported the task sequence and checked in "object.xml" for the "ApplyWindowsSettingsAction", to see if there was something odd in the xml, but I don't find anything that jumps out as being wrong. Here's the section of XML for
that step. I've removed identifying info, and replaced it with a generic term in bold.
<step type="SMS_TaskSequence_ApplyWindowsSettingsAction" name="Apply Windows Settings" description="" runIn="WinPE" successCodeList="0" runFromNet="false"><action>osdwinsettings.exe /config</action><defaultVarList><variable name="OSDLocalAdminPassword" property="AdminPassword"></variable><variable name="OSDComputerName" property="ComputerName">%_SMSTSMachineName%</variable><variable name="OSDProductKey" property="ProductKey"></variable><variable name="OSDRandomAdminPassword" property="RandomAdminPassword">false</variable><variable name="OSDRegisteredOrgName" property="RegisteredOrgName">COMPANY NAME</variable><variable name="OSDRegisteredUserName" property="RegisteredUserName">COMPANY NAME</variable><variable name="OSDServerLicenseConnectionLimit" property="ServerLicenseConnectionLimit">5</variable><variable name="OSDTimeZone" property="TimeZone">Central Standard Time</variable></defaultVarList></step><step type="SMS_TaskSequence_ApplyNetworkSettingsAction" name="Apply Network Settings" description="" runIn="WinPEandFullOS" successCodeList="0" runFromNet="false"><action>osdnetsettings.exe configure</action><defaultVarList><variable name="OSDDomainName" property="DomainName">DOMAIN.COM</variable><variable name="OSDJoinPassword" property="DomainPassword"></variable><variable name="OSDJoinAccount" property="DomainUsername">DOMAIN ACCOUNT</variable><variable name="OSDEnableTCPIPFiltering" property="EnableTCPIPFiltering" hidden="true">false</variable><variable name="OSDNetworkJoinType" property="NetworkJoinType">0</variable><variable name="OSDAdapterCount" property="NumAdapters" hidden="true">0</variable></defaultVarList></step>
Is there any other log I should check for a clue on this issue? What could be causing this error?Thanks for sharing that! I tend to save contacting MS support until after I've exhausted other options. I'm always afraid that I'll spend the $500 to open a case and then it turns out to be something simple that I would have found if I had just
kept working on it myself a little longer.
It looks like that link is for an update released in February as KB3023562. I downloaded and installed it. I'll try opening/editing/saving the task sequence a few times today to see if the issue is resolved.
After I had already installed it, I thought to look up that update in configmgr. The update is listed as superseded by 2 other updates. The newest of those is KB3046049, which just installed last night with the other March patches, so it's possible
that I didn't need to install KB3023562 after all. -
How to produce XSL FO file from XML file using XSLT (or something else). Is it possible, and can someone give some example ?
You can use JAXP to apply an XSLT to an XML file. Beyond that questions about XSLT should be posted somewhere else. This is mostly for Java and XML not XML only help.
-
For ESS which one is better ? (Webdynpro for Java or Webdynpro for ABAP)
Hello ,
For developing Employee Self Service(ESS) which one is preffered Is webdynpro for java and webdynpro for ABAP ? Why ?
What are the differences ?? Please give me clearly.
Thanks
RishaHello Olivier ,
Thank you for gvg quick reply.
For dessert which one is preferred : apple pie or chocolate pudding ? - I am not able to decide
Actually I have requirement for developing ESS in Portal. I am new to ESS and heard presently using WDA for ESS.
I did't get reasons why using WDA. basically I am from WD for Java.
If possible give me differences.
Thanks
Risha -
I am new to Java and XML, I want to know the steps i should follow to work with XML document using XPATH. also the APIs and Technologies i shoud work. If possible guide me any examples or tutorials for that.
This is the defacto site for xpath stuff for java
http://xml.apache.org/xalan-j/ -
Imagine if you can that I have a XmlLoader class for each object that can be loaded from xml.
Before I had the xmlLoader code inside the objects but it's better to separate loading from actual object...
these xmlLoaders needs to be able to set all vars for those objects. How would be the best way to do that?
Atm I have made all vars with a package scope. but this really opens the object open to all other objects in that package...
I don't know any other options. so how do you keep your vars safe, but still be able to load them from whatever source(xml, txt)...?Apache Digester is good for this sort of thing. It uses setter methods to populate your objects. You could also just use XML Serialization and deserialization. Or, you could go for something like JAXB or XMLBeans, whereby you actually will have classes generated for you from XML Schemas, and instances of those classes can marshall and unmarshall themselves quite easily
-
Distribution of Perspective for Java
Can I include JavaBean "Perspective for Java" from JDeveloper 3.1.1.2 in my application and distribute it or I must pay some licence fee?
Thank you
MaticHi,
If you develop your application using an Oracle product, then you can redistribute the Perspectives bean with your application without an additional license fee.
See the Release Notes for information on those libraries that do require a runtime license.
null -
Java and xml option necessary?
Hi,
first when i build the repository database, i choose java and xml option, is this necessary or i waste my time.
When i read Building a Help Desk Connector, i'm not sure, do i need the Diagnostic Pack.
Best regards
Thomas
(Narri, Narro)This is the defacto site for xpath stuff for java
http://xml.apache.org/xalan-j/ -
How to insert into table from a xml with XDE for java?
want to insert into the oracle tables from the xml with XDE for java, some sample better. thank you.
XML Document may be stored in a SQL database with XML SQL Utility.
http://download-west.oracle.com/docs/cd/B13789_01/appdev.101/b10794/adx08xsu.htm#i1008168
XML Document may be stored in a SQL database with Oracle XML DB.
http://download-west.oracle.com/docs/cd/B13789_01/appdev.101/b10790/xdb03usg.htm#CEGFECFH -
Problem with running sample code from XML Schema Processor for Java
Hi there,
I downloaded the XML Schema Processor for Java and tried it out. Unfortunately, it failed at the first step. FYI, I included all xmlparserv2.jar and xmlschema.jar in my classpath.
I compiled XSDSample.java with a warning: XSDSample.java uses a deprecated API. Recompile with "-deprecation" for details. There was no problem with compiling XSDSetSchema.java.
When I tried to run report.xml by typing java XSDSample report.xml, I got Parsing report.xml
NonParserException: null.
I guess that report.xml from the sample is not valid.
Could any one give me a hint? Any suggestion would be greatly appreciated.
---Denali
nullPlease post this message at:
Forums Home » Oracle Technology Network (OTN) » Products » Database » XML DB
Maybe you are looking for
-
THE System showing ABAP error while activating the "lead questionairre".
Hi Experts, I have ceated a new "questionnare" for the leads. while making it as active i am getting ABAP errors. Please let me know what has went wrong in this area. I have copied the standard one to create a new questionaree. waiting for the resp
-
Error while creating so "Text 0000001025 ID 0012 language EN not found
Dear Sirs, I am creating sales order but when i enter the material i am getting an error message "Text 0000001025 ID 0012 language EN not found Message no. TD600 Diagnosis You want to read a text which does not exist in the data base (or update memor
-
Alphabetizing a linked list, HELP!
To all: Firstly, I'm not looking for someone to do my assignment for me. I just need a push in the right direction... I need to create a linked list that contains nodes of a single string (a first name), but that list needs to be alphabetized and tha
-
Zen Vision M (60GB) and supported devices (USB Host Featu
I would know if Canon Powershot A520 is a supported device by USB Host Feature. thanks mat
-
Viewing the way of a message through integration process
Hey, I would like to check the lifecycle of a message through an integration process (IP). Therefore I took the ID of a message that triggers the IP. Our IP have several sending steps and I would like to see the messages that will be send. In sxmb_m